This repository was archived by the owner on Jun 22, 2021. It is now read-only.
fix(deps): update react monorepo to v17 (major) #305
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^16.2.0->^17.0.0^16.2.0->^17.0.0Release Notes
facebook/react
v17.0.2Compare Source
React DOM
SharedArrayBuffercross-origin isolation warning. (@koba04 and @bvaughn in #20831, #20832, and #20840)v17.0.1Compare Source
React DOM
v17.0.0Compare Source
Today, we are releasing React 17!
Learn more about React 17 and how to update to it on the official React blog.
React
react/jsx-runtimeandreact/jsx-dev-runtimefor the new JSX transform. (@lunaruan in #18299)displayNameon context for improved stacks. (@eps1lon in #18224)'use strict'from leaking in the UMD bundles. (@koba04 in #19614)fb.mefor redirects. (@cylim in #19598)React DOM
document. (@trueadm in #18195 and others)useEffectcleanup functions asynchronously. (@bvaughn in #17925)focusinandfocusoutforonFocusandonBlur. (@trueadm in #19186)Captureevents use the browser capture phase. (@trueadm in #19221)onScrollevent. (@gaearon in #19464)forwardReformemocomponent returnsundefined. (@gaearon in #19550)consolein the second render pass of DEV mode double render. (@sebmarkbage in #18547)ReactTestUtils.SimulateNativeAPI. (@gaearon in #13407)ReactDOM.flushSyncduring lifecycle methods (but warn). (@sebmarkbage in #18759)codeproperty to the keyboard event objects. (@bl00mber in #18287)disableRemotePlaybackproperty forvideoelements. (@tombrowndev in #18619)enterKeyHintproperty forinputelements. (@eps1lon in #18634)valueis provided to<Context.Provider>. (@charlie1404 in #19054)memoorforwardRefcomponents returnundefined. (@bvaughn in #19550)onTouchStart,onTouchMove, andonWheelpassive. (@gaearon in #19654)setStatehanging in development inside a closed iframe. (@gaearon in #19220)defaultProps. (@jddxf in #18539)dangerouslySetInnerHTMLisundefined. (@eps1lon in #18676)requireimplementation. (@just-boris in #18632)onBeforeInputreporting an incorrectevent.type. (@eps1lon in #19561)event.relatedTargetreported asundefinedin Firefox. (@claytercek in #19607)movementX/Ypolyfill with capture events. (@gaearon in #19672)onSubmitandonResetevents. (@gaearon in #19333)React DOM Server
useCallbackbehavior consistent withuseMemofor the server renderer. (@alexmckenley in #18783)React Test Renderer
findByTypeerror message. (@henryqdineen in #17439)Concurrent Mode (Experimental)
unstable_prefix before the experimental APIs. (@acdlite in #18825)unstable_discreteUpdatesandunstable_flushDiscreteUpdates. (@trueadm in #18825)timeoutMsargument. (@acdlite in #19703)<div hidden />prerendering in favor of a different future API. (@acdlite in #18917)unstable_expectedLoadTimeto Suspense for CPU-bound trees. (@acdlite in #19936)unstable_useOpaqueIdentifierHook. (@lunaruan in #17322)unstable_startTransitionAPI. (@rickhanlonii in #19696)actin the test renderer no longer flushes Suspense fallbacks. (@acdlite in #18596)useMutableSourcethat may happen whengetSnapshotchanges. (@bvaughn in #18297)useMutableSource. (@bvaughn in #18912)v16.14.0Compare Source
React
v16.13.1Compare Source
React DOM
componentWillReceiveProps,shouldComponentUpdate, and so on). (@gaearon in #18330)v16.13.0Compare Source
React
React.createFactory()(@trueadm in #17878)React DOM
stylemay cause an unexpected collision (@sophiebits in #14181, #18002)unstable_createPortal(@trueadm in #17880)onMouseEnterbeing fired on disabled buttons (@AlfredoGJ in #17675)shouldComponentUpdatetwice when developing inStrictMode(@bvaughn in #17942)versionproperty to ReactDOM (@ealush in #15780)toString()ofdangerouslySetInnerHTML(@sebmarkbage in #17773)Concurrent Mode (Experimental)
ReactDOM.createRoot()(@trueadm in #17937)ReactDOM.createRoot()callback params and added warnings on usage (@bvaughn in #17916)SuspenseListCPU bound heuristic (@sebmarkbage in #17455)isPendingonly being true when transitioning from inside an input event (@acdlite in #17382)React.memocomponents dropping updates when interrupted by a higher priority update (@acdlite in #18091)v16.12.0Compare Source
React DOM
useEffect) not being fired in a multi-root app. (@acdlite in #17347)React Is
lazyandmemotypes considered elements instead of components (@bvaughn in #17278)v16.11.0Compare Source
React DOM
mouseenterhandlers from firing twice inside nested React containers. @yuanoook in #16928unstable_createRootandunstable_createSyncRootexperimental APIs. (These are available in the Experimental channel ascreateRootandcreateSyncRoot.) (@acdlite in #17088)v16.10.2Compare Source
React DOM
v16.10.1Compare Source
React DOM
v16.10.0Compare Source
React DOM
Object.isinstead of inline polyfill, when available. (@ku8ar in #16212)Scheduler (Experimental)
postMessageloop with short intervals instead of attempting to align to frame boundaries withrequestAnimationFrame. (@acdlite in #16214)useSubscription
v16.9.0Compare Source
React
<React.Profiler>API for gathering performance measurements programmatically. (@bvaughn in #15172)unstable_ConcurrentModein favor ofunstable_createRoot. (@acdlite in #15532)React DOM
UNSAFE_*lifecycle methods. (@bvaughn in #15186 and @threepointone in #16103)javascript:URLs as a common attack surface. (@sebmarkbage in #15047)disablePictureInPictureattribute on<video>. (@eek in #15334)onLoadevent for<embed>. (@cherniavskii in #15614)useStatestate from DevTools. (@bvaughn in #14906)setStateis called fromuseEffect, creating a loop. (@gaearon in #15180)findDOMNodefor components wrapped in<Suspense>. (@acdlite in #15312)!importantstyle. (@acdlite in #15861 and #15882)React DOM Server
React Test Utilities and Test Renderer
act(async () => ...)for testing asynchronous state updates. (@threepointone in #14853)actfrom different renderers. (@threepointone in #16039 and #16042)act()call. (@threepointone in #15763 and #16041)actfrom the wrong renderer. (@threepointone in #15756)ESLint Plugin: React Hooks
v16.8.6Compare Source
React DOM
useReducer(). (@acdlite in #15124)contextTypeis set toContext.Consumerinstead ofContext. (@aweary in #14831)contextTypeis set to invalid values. (@gaearon in #15142)v16.8.5Compare Source
React DOM
sizeattribute. (@kulek1 in #14242)useEffect(async () => ...)warning message. (@gaearon in #15118)React DOM Server
useLayoutEffectwarning message when server rendering. (@gaearon in #15158)React Shallow Renderer
setStatein shallow renderer to work with Hooks. (@gaearon in #15120)React.memo. (@aweary in #14816)forwardRef. (@eps1lon in #15100)v16.8.4Compare Source
React DOM and other renderers
useContexthook. (@bvaughn in #14940)v16.8.3Compare Source
React DOM
React DOM Server
ESLint Plugin for React Hooks
exhaustive-depsrule. (@gaearon in #14636)v16.8.2Compare Source
React DOM
ReactDOM.renderbeing ignored insideuseEffect. (@gaearon in #14799)useImperativeHandleto work correctly when no deps are specified. (@gaearon in #14801)crossOriginattribute to work in SVGimageelements. (@aweary in #14832)React Test Utils and React Test Renderer
act()warning. (@threepointone in #14855)v16.8.1Compare Source
React DOM and React Test Renderer
React Test Utils
v16.8.0Compare Source
React
useReducerHook lazy initialization API. (@acdlite in #14723)React DOM
useStateanduseReducerHooks. (@acdlite in #14569)Object.isalgorithm for comparinguseStateanduseReducervalues. (@Jessidhia in #14752)useEffect/useMemo/useCallbackHooks. (@acdlite in #14594)React.lazy(). (@gaearon in #14626)undefinedor a function. All other values, includingnull, are not allowed. @acdlite in #14119React Test Renderer and Test Utils
shouldComponentUpdatein the presence ofgetDerivedStateFromPropsfor Shallow Renderer. (@chenesan in #14613)ReactTestRenderer.act()andReactTestUtils.act()for batching updates so that tests more closely match real behavior. (@threepointone in #14744)ESLint Plugin: React Hooks
v16.7.0Compare Source
React DOM
React.lazyfor large numbers of lazily-loaded components. (@acdlite in #14429)react-dom/[email protected]andreact@<16.6. (@gaearon in #14291)Scheduler (Experimental)
setTimeoutin testing environments. (@bvaughn in #14358)v16.6.3React DOM
Suspenseandlazy. (@acdlite in #14133, #14157, and #14164)React.memoupdates in React DevTools. (@bvaughn in #14141)React DOM Server
renderToNodeStream()calls. (@sebmarkbage in #14182)v16.6.2This release was published in a broken state and should be skipped.
v16.6.1Compare Source
React DOM
Scheduler (Experimental)
shouldYieldAPI. (@acdlite in #14025)v16.6.0Compare Source
React
React.memo()as an alternative toPureComponentfor functions. (@acdlite in #13748)React.lazy()for code splitting components. (@acdlite in #13885)React.StrictModenow warns about legacy context API. (@bvaughn in #13760)React.StrictModenow warns aboutfindDOMNode. (@sebmarkbage in #13841)unstable_AsyncModetounstable_ConcurrentMode. (@trueadm in #13732)unstable_PlaceholdertoSuspense, anddelayMstomaxDuration. (@gaearon in #13799 and @sebmarkbage in #13922)React DOM
contextTypeas a more ergonomic way to subscribe to context from a class. (@bvaughn in #13728)getDerivedStateFromErrorlifecycle method for catching errors in a future asynchronous server-side renderer. (@bvaughn in #13746)<Context>is used instead of<Context.Consumer>. (@trueadm in #13829)window.eventin development. (@sergei-startsev in #13697)React DOM Server
React.memo(). (@alexmckenley in #13855)contextType. (@alexmckenley and @sebmarkbage in #13889)Scheduler (Experimental)
scheduler. (@gaearon in #13683)requestAnimationFrameearlier. (@acdlite in #13785)envifytransform to the package. (@mridgway in #13766)Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.